package com.gzdict.myapplication.ui

import androidx.multidex.BuildConfig


/**
 * 描述: api 访问路径
 * @author: create by shang
 * date:2024/2/20 0020 14
 */
object ApiConst{

     var TEMP = if(BuildConfig.DEBUG) "/server" else "/server"

    //登录
     val URL_LOGIN="${TEMP}/api/mobile/system/loginByRegister"

    //获取店铺
     val URL_SHOP_LIST="${TEMP}/api/storeInfo/findStore"

    //获取商品  {"count":0,"pageNo":1,"pageSize":24,"retCode":0,"shopNum":"202055","success":false,"type":"1"}
      val URL_FOOD_LIST="${TEMP}/api/foodInfos/selectFoodInfoList"

    //现金支付
      val URL_PAY_CASH="${TEMP}/api/wxpay/nhpay/cashPay"

    //扫码支付
      val URL_PAY_SCAN="${TEMP}/api/wxpay/nhpay/cardPayByCT"
    //查询是否支付成功
      val URL_PAY_SCAN_CHECK="${TEMP}/api/order/findFoodOrderByOrderNumber"
    //刷卡支付
      val URL_PAY_CARD = "${TEMP}/api/cardPayByCashRegister"

    //订单列表
      val URL_ORDER_LIST="${TEMP}/api/order/selectFoodOrderList"
    //订单详情
      val URL_ORDER_DETAIL="${TEMP}/api/foodOrderDetailsById"
    //订单退款
      val URL_ORDER_RETURN="${TEMP}/api/refundByYkt"  //一卡通退款
      val URL_ORDER_RETURN_SCAN ="${TEMP}/api/wxpay/nhpay/refundRequest" //扫码退款
      val URL_ORDER_RETURN_CASH ="${TEMP}/api/wxpay/nhpay/cashRefundRequest" //现金退款

    //支付统计
      val URL_STAT_PAY ="${TEMP}/api/foodStatistics/selectByPayTypeExcel"
    //销售统计
      val URL_STAT_RECORD="${TEMP}/api/foodStatistics/selectByFoodForDay"

      val URL_APP_DOWNLOAD="${TEMP}/api/cscpAppAdministrations/findOneByType"

}
